package cn.itsource.zcn.org.domain;

import java.io.Serializable;

import cn.itsource.zcn.basic.domain.BaseDomain;
import lombok.*;

/**
 * (Department)实体类
 *
 * @author makejava
 * @since 2021-08-06 16:14:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 472236427003464684L;

    /**
     * 部门编号
     */
    private String sn;
    /**
     * 部门名称
     */
    private String name;
    /**
     * 部门状态，1正常，0禁用
     */
    private Integer state;
    /**
     * 部门管理员，关联Employee表id
     */
    private Long manager_id;
    private Employee manager;
    /**
     * 上级部门
     */
    private Long parent_id;
    private Department parent;

}
